<?php
return array(
	'DB_PREFIX'=>'sm_',
	'SM_CODE'=>'ts-30901',
	'SM_KEY'=>12676595,
	'SM_SECRET'=>"b9e6c16ad5e1fdbbdb114059bb832ef9",
	//默认错误跳转对应的模板文件
	'TMPL_ACTION_ERROR' => 'Public:error',
	//默认成功跳转对应的模板文件
	'TMPL_ACTION_SUCCESS' => 'Public:success',
	"GIFT_GETWAY"=>array(
		'jifen'=>"积分兑换",
		'chouj'=>"自动抽奖",
		'shoud'=>"后台抽奖",
		'qddh'=>"签到兑换"
	),	
	'SEEDS_REASON'=>array(
		"qiandao"=>array("id"=>"1","name"=>"签到"),
		"dddh"=>array("id"=>"2","name"=>"订单兑换"),
		"zhongj"=>array("id"=>"3","name"=>"中奖"),
		"buqian"=>array("id"=>"4","name"=>"补签")
	),	
	'GFT_TYPE'=>array(
		"item"=>array("name"=>"实物","status"=>1,"id"=>1,"tip"=>"填写商品地址"),
		// "youhuiq"=>array("name"=>"优惠券","status"=>1,"id"=>2,"tip"=>"填写领取地址"),
		"baoyou"=>array("name"=>"包邮券","status"=>1,"id"=>3,"tip"=>"填写领取地址"),
		"zfbhb"=>array("name"=>"红包卡密","status"=>1,"id"=>4,"tip"=>"填写卡密列表"),
		"zhekou"=>array("name"=>"超低折扣","status"=>1,"id"=>5,"tip"=>"读取预设折扣"),
		"qita"=>array("name"=>"其他奖品","status"=>1,"id"=>6,"tip"=>"填入链接"),
		"zailai"=>array("name"=>"再来一次","status"=>1,"id"=>7,"tip"=>"填写增加次数"),
		),
		'SYS_GIFT'=>array(  //系统配置的奖品，全站奖品。用于引导用户消费种子
		"skzm" => array(
				"name"=>"时空之门",
				"pic_url"=>"时空之门的图片地址",
				"details"=>"你忽然打开了一扇时空之门，未知的宝藏正在里面闪闪发光，快去看看那是什么！",
				"probability"=>1,
				"quantity"=>0,
				"type"=>0,
				"num_iids"=>"打开时空之门的链接"
			)
		),
	"INDEX_RECOM"=>array(
		  "first"=> array("name"=>"首页第一屏","id"=>1,"status"=>1),
		  "second"=>array("name"=>"首页第二屏","id"=>2,"status"=>1),
		  "third"=> array("name"=>"首页第三屏","id"=>3,"status"=>1),
		  "hot"=>   array("name"=>"首页热门活动","id"=>4,"status"=>1),
		  "push"=>  array("name"=>"首页掌柜推荐","id"=>5,"status"=>1)
		),
	"RECOM_USER_COUNT"=>40, //活动参与人数标准，达到才出现报名按钮。
	'TOPIC'=>array(
			"taobao_trade_TradeSuccess"=>"交易成功",
			"taobao_trade_TradeCreate"=>"创建淘宝交易",
			"taobao_trade_TradeSellerShip"=>"卖家发货",
			"taobao_trade_TradeModifyFee"=>"修改交易费用",
			"taobao_trade_TradeRated"=>"交易评价变更",
			"taobao_trade_TradeCloseAndModifyDetailOrder"=>"关闭或修改子订单",
			"taobao_trade_TradeClose"=>"关闭交易",
			"taobao_trade_TradeBuyerPay"=>"买家付完款，或万人团买家付完尾款",
			"taobao_trade_TradeDelayConfirmPay"=>"延长收货时间",
			"taobao_trade_TradePartlyRefund"=>"子订单退款成功",
			"taobao_trade_TradePartlyConfirmPay"=>"子订单打款成功",
			"taobao_trade_TradeTimeoutRemind"=>"交易超时提醒",
			"taobao_trade_TradeMemoModified"=>"交易备注修改",
			"taobao_trade_TradeLogisticsAddressChanged"=>"修改交易收货地址",
			"taobao_trade_TradeChanged"=>"订单信息变更",
			"taobao_trade_TradeAlipayCreate"=>"创建支付宝订单",
			"taobao_trade_TradePartlySellerShip"=>"交易的部分子订单发货",
			"taobao_refund_TaobaoInterApplied"=>"申请淘宝介入消息",
			"taobao_refund_TaobaoIntervened"=>"淘宝介入退款消息",
			"taobao_refund_RefundableMarked"=>"退款标记创建消息",
			"taobao_refund_RefundableCanceled"=>"退款标记取消消息"
	),
	"TOPIC_NEW"=>array(
		"TRADE_FINISHED"=>"交易成功",
		"ALL_WAIT_PAY"=>"所有等待付款",
		"ALL_CLOSED"=>"交易被各种关闭",
		"TRADE_NO_CREATE_PAY"=>"没有创建支付宝交易",
		"WAIT_BUYER_PAY"=>"等待买家付款",
		"WAIT_SELLER_SEND_GOODS"=>"买家已付款等待卖家发货",
		"SELLER_CONSIGNED_PART"=>"卖家部分发货",
		"WAIT_BUYER_CONFIRM_GOODS"=>"卖家已发货等待买家确认收货",
		"TRADE_BUYER_SIGNED"=>"货到付款买家已签收",
		"TRADE_CLOSED"=>"交易关闭",
		"TRADE_CLOSED_BY_TAOBAO"=>"交易被淘宝关闭",
		"WAIT_PRE_AUTH_CONFIRM"=>"余额宝0元购合约进行中"
	),
	"DEFAULT_FRONT_PIC_URL"=>array(
		"eggs"=>"http://img01.taobaocdn.com/imgextra/i1/27390555/TB2p0vwaVXXXXcVXXXXXXXXXXXX-27390555.jpg",
		"wheels"=>"http://img04.taobaocdn.com/imgextra/i4/27390555/TB2YXhPaVXXXXcXXXXXXXXXXXXX-27390555.jpg",
		"dices"=>"http://img03.taobaocdn.com/imgextra/i3/27390555/TB22sOiaVXXXXb1XXXXXXXXXXXX-27390555.jpg",
		"fruit"=>"http://img03.taobaocdn.com/imgextra/i3/27390555/TB25v1paVXXXXcSXXXXXXXXXXXX-27390555.jpg",
		"mice"=>"",
		"scratchcards"=>"http://img04.taobaocdn.com/imgextra/i4/27390555/TB2wTmhaVXXXXcJXXXXXXXXXXXX-27390555.jpg",
		"comment"=>"",
		"chest"=>"http://img02.taobaocdn.com/imgextra/i2/27390555/TB2V81oaVXXXXcMXXXXXXXXXXXX-27390555.jpg",
		"miao"=>"http://img04.taobaocdn.com/imgextra/i4/27390555/TB2Rw40apXXXXbjXXXXXXXXXXXX-27390555.jpg",
		"se"=>""
	),
	"GIFTS_DEFAULT"=>array(
		"dices"=>'{"giftset":[{"gift":"0","width":"73","height":"73","left":"282","top":"22","forbidden":false},{"gift":"0","width":"73","height":"73","left":"355","top":"22","forbidden":false},{"gift":"0","width":"73","height":"73","left":"428","top":"22","forbidden":false},{"gift":"0","width":"73","height":"73","left":"501","top":"22","forbidden":false},{"gift":"0","width":"73","height":"73","left":"574","top":"22","forbidden":false},{"gift":"0","width":"73","height":"73","left":"574","top":"95","forbidden":false},{"gift":"0","width":"73","height":"73","left":"574","top":"168","forbidden":false},{"gift":"0","width":"73","height":"73","left":"574","top":"241","forbidden":false},{"gift":"0","width":"73","height":"73","left":"501","top":"241","forbidden":false},{"gift":"0","width":"73","height":"73","left":"428","top":"241","forbidden":false},{"gift":"0","width":"73","height":"73","left":"355","top":"241","forbidden":false},{"gift":"0","width":"73","height":"73","left":"282","top":"241","forbidden":false},{"gift":"0","width":"73","height":"73","left":"282","top":"168","forbidden":false},{"gift":"0","width":"73","height":"73","left":"282","top":"95","forbidden":false}]}',
		"wheels"=>'{"giftset":[{"gift":"0","width":"0","height":"0","forbidden":false},{"gift":"0","width":"45","height":"45","forbidden":false},{"gift":"0","width":"90","height":"90","forbidden":false},{"gift":"0","width":"135","height":"135","forbidden":false},{"gift":"0","width":"180","height":"180","forbidden":false},{"gift":"0","width":"235","height":"235","forbidden":false},{"gift":"0","width":"280","height":"280","forbidden":false},{"gift":"0","width":"325","height":"325","forbidden":false},{"gift":"0","width":"0","height":"0","forbidden":true},{"gift":"0","width":"0","height":"0","forbidden":true},{"gift":"0","width":"0","height":"0","forbidden":true},{"gift":"0","width":"0","height":"0","forbidden":true},{"gift":"0","width":"0","height":"0","forbidden":true},{"gift":"0","width":"0","height":"0","forbidden":true},{"gift":"0","width":"0","height":"0","forbidden":true},{"gift":"0","width":"0","height":"0","forbidden":true},{"gift":"0","width":"0","height":"0","forbidden":true},{"gift":"0","width":"0","height":"0","forbidden":true}]}',
	),
	"FRONT_DEFAULT"=>array(
		"dices"=>'{"contdown":{"left":"5px","top":"148px","visibility":"visible"},"gift":{"left":"670px","top":"76px","visibility":"visible"},"mywin":{"left":"872px","top":"160px","visibility":"visible"},"gg":{"left":"660px","top":"158px","visibility":"visible"},"win":{"left":"721px","top":"191px","visibility":"visible"},"action":{"left":"415px","top":"118px","width":"88px","height":"85px","background":"url(http://img02.taobaocdn.com/imgextra/i2/27390555/TB2WhpOaXXXXXcTXXXXXXXXXXXX-27390555.png) no-repeat"},"cart":{"left":"60px","top":"260px","width":"160px","height":"37px","background":"url(http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png) no-repeat","visibility":"visible"}}',
		"eggs"=>'{"contdown":{"left":"15px","top":"125px","visibility":"visible"},"gift":{"left":"650px","top":"75px","visibility":"visible"},"mywin":{"left":"860px","top":"160px","visibility":"visible"},"gg":{"left":"660px","top":"158px","visibility":"visible"},"win":{"left":"710px","top":"190px","visibility":"visible"},"action":{"left":"382px","top":"20px","width":"189px","height":"303px","background":"url(http://img02.taobaocdn.com/imgextra/i2/27390555/TB2QP30bpXXXXaXXpXXXXXXXXXX-27390555.png) no-repeat"},"cart":{"left":"60px","top":"260px","width":"160px","height":"37px","background":"url(http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png) no-repeat"}}',
		"chest"=>'{"contdown":{"left":"6px","top":"134px","visibility":"visible"},"gift":{"left":"669px","top":"79px","visibility":"visible"},"mywin":{"left":"876px","top":"158px","visibility":"visible"},"gg":{"left":"670px","top":"158px","visibility":"visible"},"win":{"left":"721px","top":"192px","visibility":"visible"},"action":{"left":"432px","top":"174px","width":"95px","height":"84px","background":"url(none) no-repeat"},"cart":{"left":"60px","top":"260px","width":"160px","height":"37px","background":"url(http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png) no-repeat","visibility":"visible"}}',
		"scratchcards"=>'{"contdown":{"left":"7px","top":"133px","visibility":"visible"},"gift":{"left":"672px","top":"77px","visibility":"visible"},"mywin":{"left":"876px","top":"159px","visibility":"visible"},"gg":{"left":"665px","top":"159px","visibility":"visible"},"win":{"left":"720px","top":"192px","visibility":"visible"},"action":{"left":"432px","top":"174px","width":"95px","height":"84px","background":"url(none) no-repeat"},"cart":{"left":"60px","top":"260px","width":"160px","height":"37px","background":"url(http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png) no-repeat","visibility":"visible"}}',
		"wheels"=>'{"contdown":{"left":"15px","top":"125px","visibility":"visible"},"gift":{"left":"650px","top":"75px","visibility":"visible"},"mywin":{"left":"860px","top":"160px","visibility":"visible"},"gg":{"left":"660px","top":"158px","visibility":"visible"},"win":{"left":"710px","top":"190px","visibility":"visible"},"action":{"left":"295px","top":"0px","width":"360px","height":"360px","background":"url(http://img02.taobaocdn.com/imgextra/i2/27390555/TB2phJfaXXXXXaAXpXXXXXXXXXX-27390555.png) 122px 104px no-repeat"},"cart":{"left":"60px","top":"260px","width":"160px","height":"37px","background":"url(http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png) no-repeat","visibility":"visible"}}',
		"default"=>'{"contdown":{"left":"15px","top":"125px","visibility":"visible"},"gift":{"left":"650px","top":"75px","visibility":"visible"},"mywin":{"left":"860px","top":"160px","visibility":"visible"},"gg":{"left":"660px","top":"158px","visibility":"visible"},"win":{"left":"710px","top":"190px","visibility":"visible"},"action":{"left":"432px","top":"174px","width":"95px","height":"84px","background":"none"},"cart":{"left":"60px","top":"260px","width":"160px","height":"37px","background":"url(http://img04.taobaocdn.com/imgextra/i4/27390555/TB26FHAbpXXXXamXpXXXXXXXXXX-27390555.png) no-repeat","visibility":"visible"}}'
	)
);